#ifndef _INI_PARSER_H
#define _INI_PARSER_H

typedef struct mqtt_ctx_s
{

    /* Broker settings */
    char        hostname[128];  /* MQTT broker server name */
    int         port;           /* MQTT broker listen port */
    
    char        username[128];  /*username*/
    char        passwd[128];    /*password*/
    char        clientid[128];
    int         keepalive;

    char        method[124];
    char        id[128];                                                  
    char        identifier[32];
    char        version[32];


    /* Subscriber settings */
    char        pubTopic[256];  /* Subscriber topic */
    int         pubQos;         /* Subscriber Qos */
}mqtt_ctx_t;

#endif
